binary to decimal number conversion with fractions